import axios from 'axios'
import axiosUtil from "@/services/axiosUtil"
import accountAPI from "@/services/account/AccountAPI"

// 创建 axios 的实例
let axiosInst = axios.create({
    baseURL: '/auth-local',
    timeout: 6000
})

axiosUtil.configInterceptors(axiosInst)

let req = axiosUtil.packAPI(accountAPI, axiosInst)

export default req
